package com.ks.app.navigate.service;

import java.util.List;
import com.ks.app.admin.util.Pager;
import com.ks.app.navigate.hibernate.KsWebsite;

public interface KsWebsiteService {	
	
	//根据查询条件获取站点
	public List<KsWebsite> findKsWebsiteList(String name,long navigateid,int status,int recommend,Pager pager);
	
	//获取导航条下的站点
	public List<KsWebsite> findKsWebsiteList(long navigateid);
	
	//通过主键获取站点
	public KsWebsite findKsWebsiteById(long id);
	
	//新增和修改站点
	public void saveKsWebsite(KsWebsite website);
	
	//根据ID删掉站点
	public void deleKsWebsites(String webids,String usrname);
	
	//获取上线的站点
	public List<KsWebsite> findOnlineWeblist();
	
	//获取推荐站点
	public List<KsWebsite> findRecommendWebList();
		
}
